package com.ktjy.mapper;

import com.ktjy.pojo.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AddressMapper {
    public List<Address> getAddressList(@Param("contact")String contact,@Param("addressDesc")String addressDesc,@Param("tel")String tel,@Param("pageBegin")Integer pageBegin,@Param("pageSize")Integer pageSize);

    public int insert(Address address);

    public int update(Address address);

    public Integer delete(@Param("id")Integer id);
}
